package com.carcenter.order.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carcenter.common.model.dto.ProductQueryDto;
import com.carcenter.common.model.vo.ProductVo;
import com.carcenter.order.entity.Products;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author car
 * @since 2025-07-16
 */
@Mapper
public interface ProductsMapper extends BaseMapper<Products> {

    IPage<ProductVo> getProducts(IPage<ProductVo> page, @Param("queryDto") ProductQueryDto queryDto);
}
